Terraformでwhite-list用のIP Setsを作成
code:ip_set.tf
resource "aws_wafv2_ip_set" "waf_white_ip_set" {
name = "maintenance-white-list"
description = "Allow access under maintenance"
scope = "CLOUDFRONT"
ip_address_version = "IPV4"
addresses = []
lifecycle {
ignore_changes = [
addresses,
]
}
}